package com.topisv.tms.entity.task;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.topisv.tms.entity.IdEntity;

/**
 * 往美的接口推送订单已发货的任务实体
 *  Date          Author       Version       Description
 * ----------------------------------------------------------
 *  2015-1-10      CC            1.0           Create
 */
@Entity
@Table(name = "tt_md_out_task")
public class MdSendOutTask extends IdEntity {
	private static final long serialVersionUID = 1L;
	private String customerOrderNo;// 商家单号
	private Integer workNum;// 作业的数量
	private Integer doneNum;// 已完成的数量
	private Date crTime;// 创建时间
	private String dealStatus;// 处理状态(0未处理，1已锁定，2处理失败，3处理成功)
	private Date dealTime;// 处理时间
	private String orderType;//订单类型MDOrderType
	private String dealIp;
	private Integer dealCount;//处理次数

	public String getCustomerOrderNo() {
		return customerOrderNo;
	}

	public void setCustomerOrderNo(String customerOrderNo) {
		this.customerOrderNo = customerOrderNo;
	}

	public Date getCrTime() {
		return crTime;
	}

	public void setCrTime(Date crTime) {
		this.crTime = crTime;
	}

	public String getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(String dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public Integer getWorkNum() {
		return workNum;
	}

	public void setWorkNum(Integer workNum) {
		this.workNum = workNum;
	}

	public Integer getDoneNum() {
		return doneNum;
	}

	public void setDoneNum(Integer doneNum) {
		this.doneNum = doneNum;
	}

	public String getDealIp() {
		return dealIp;
	}

	public void setDealIp(String dealIp) {
		this.dealIp = dealIp;
	}

	public Integer getDealCount() {
		return dealCount;
	}

	public void setDealCount(Integer dealCount) {
		this.dealCount = dealCount;
	}

}
